

import Foundation


class TestObject{
    
    /**
    Q1
    please use TDD to finish following function.
    
    for example
    1. if aNumber is 1, then return bla
    2. if aNumber is 2, then return blabla
    3. if aNumber is 3, then return blablabla
    
    this is basic requirement, but pls think more...
    **/
    func questionOne(aNumber:Int?) -> String?{
        return nil
    }
    

    /**
    Q2 Make first charactor of the words to upper case
    please use TDD to finish following function.
    
    for example
    if param is abc, then return Abc
    if param is aBC then reutrn ABC
    
    this is basic requirement, but pls think more...
    **/
    func questionTwo(param:AnyObject?) -> String?{
        return nil
    }
    
    /**
    Q3 pick the smallest
    please use TDD to finish following function.
    
    for example
    if param is [1,2,3,4], then return 1
    if param is ["a","b","c","d"] then return a
    
    this is basic requirement, but pls think more...
    **/
    func questionThree(params:[AnyObject]?) -> AnyObject?{
        return nil
    }
    
}



